using System.Collections.Generic;
using BlazorDemo.Data;

namespace BlazorDemo.DataProviders.Implementation {
    public class SalesByRegionDataProvider : ISalesByRegionDataProvider {
        public List<SalesByRegion> GenerateData() {
            return new List<SalesByRegion> {
                    new (1, 0, "Europe", 214424, 224751, 204900, 217200, 0.7),
                    new (2, 1, "Austria", 22000, 28000, 19000, 28000, 0.92),
                    new (3, 1, "Belgium", 13000, 9640, 12000, 9000, 0.16),
                    new (4, 1, "Denmark", 21000, 18100, 20500, 18000, 0.56),
                    new (5, 1, "France", 23020, 27000, 22000, 25500, 0.51),
                    new (6, 1, "Germany", 30540, 33000, 30000, 31500, 0.93),
                    new (7, 1, "Ireland", 9530, 10939, 9200, 10500, 0.34),
                    new (8, 1, "Italy", 17299, 19321, 16500, 18500, 0.22),
                    new (9, 1, "Netherlands", 8902, 9214, 8800, 9000, 0.85),
                    new (10, 1, "Poland", 8930, 9440, 8500, 9300, 0.52),
                    new (11, 1, "Romania", 4900, 5100, 4700, 5000, 0.3),
                    new (12, 1, "Spain", 12900, 10300, 13000, 9900, 0.82),
                    new (13, 1, "Switzerland", 9323, 10730, 9200, 10500, 0.14),
                    new (14, 1, "United Kingdom", 14580, 13967, 14500, 13500, 0.91),
                    new (15, 1, "Ukraine", 18500, 20000, 17000, 19000, 0.6),
                    new (16, 0, "Asia", 34487, 40726, 32000, 38000, 0.52),
                    new (17, 16, "China", 20388, 22547, 18500, 21000, 0.82),
                    new (18, 16, "India", 4642, 5320, 4500, 5000, 0.44),
                    new (19, 16, "Japan", 9457, 12859, 9000, 12000, 0.7),
                    new (20, 0, "Oceania", 10800, 11000, 10300, 10700, 0.8),
                    new (21, 20, "Australia", 8600, 9000, 8200, 8800, 0.75),
                    new (22, 20, "New Zealand", 2200, 2000, 2100, 1900, 0.4),
                    new (23, 0, "Middle East", 12500, 12990, 12400, 12880, 0.58),
                    new (24, 23, "Saudi Arabia", 5000, 5400, 4950, 5350, 0.65),
                    new (25, 23, "United Arab Emirates", 7500, 7590, 7450, 7530, 0.35),
                    new (26, 0, "Africa", 68200, 72550, 67330, 71520, 0.41),
                    new (27, 26, "Egypt", 8300, 8650, 8200, 8500, 0.52),
                    new (28, 26, "Nigeria", 16500, 18000, 16250, 17750, 0.3),
                    new (29, 26, "South Africa", 17800, 18500, 17600, 18250, 0.62),
                    new (30, 26, "Kenya", 12000, 13000, 11850, 12850, 0.55),
                    new (31, 26, "Morocco", 11500, 12000, 11350, 11800, 0.48),
                    new (32, 26, "Ghana", 2100, 2400, 2080, 2370, 0.38),
                    new (33, 0, "North America", 34500, 35800, 32000, 34000, 0.84),
                    new (34, 33, "Canada", 12600, 13200, 12000, 12800, 0.64),
                    new (35, 33, "USA", 21900, 22600, 20000, 21200, 0.87),
                    new (36, 0, "South America", 18500, 19800, 17500, 19100, 0.32),
                    new (37, 36, "Argentina", 6300, 6700, 6000, 6500, 0.88),
                    new (38, 36, "Brazil", 4800, 5200, 4500, 5000, 0.1),
                    new (39, 36, "Chile", 7400, 7900, 7000, 1600, 0.7)
            };
        }
    }
}
